package remove;

public class Array {
    public static void fill(int[] cache, int i) {

    }

    public int removeElement(int[]a, int m){
        int slow = 0;
        for (int fast = 0; fast < a.length; fast++) {
           if(fast != m){
               a[slow]=a[fast];
               slow++;
           }
        }
        return slow;
    }
}
